{% load i18n static %}<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>测试登录</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "css/login.css" %}{% endblock %}" />
</head>
{% load i18n %}

<body class="login" data-admin-utc-offset="{% now "Z" %}">

<div id="container">
    <div id="header">
        <div id="branding">
            <h1> 测试登录</h1>
        </div>
    </div>
    <div id="content">
        {% if error %}
                <p class="errornote">
                    {{ error }}
                </p>
        {% endif %}

        <div id="content-main">

<form action="/firstapp/login/" method="post" id="login-form">
    {% csrf_token %}
  <div class="form-row">

    用户名: {{ form.username }}
  </div>
  <div class="form-row">

    密码: {{ form.password }}
    <input type="hidden" name="next" value="{{ next }}" />
  </div>
  <div class="submit-row">
    <label>&nbsp;</label><input type="submit" value="{% trans 'Log in' %}" />
  </div>
</form>

</div>

    </div>

</div>
</body>
</html>
